package com.hnguigu.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class ErrorException {
    @GetMapping("error")
    public Integer errorUrl(){
        System.out.println("没有操作权限");
        return 0;
    }
}
